Optimal. Leaf size=277 \[ \frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right ) \left (\frac{3 A c d-a B e}{\sqrt{a}}+3 \sqrt{c} (A e+B d)\right )}{6 c^{5/4} \sqrt{a+c x^4}}-\frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} (A e+B d) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{c^{3/4} \sqrt{a+c x^4}}+\frac{x \sqrt{a+c x^4} (A e+B d)}{\sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )}+\frac{B e x \sqrt{a+c x^4}}{3 c} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.224547, antiderivative size = 432, normalized size of antiderivative = 1.56, number of steps used = 8, number of rules used = 5, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.192, Rules used = {1721, 220, 305, 1196, 321} \[ -\frac{a^{3/4} B e \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{6 c^{5/4} \sqrt{a+c x^4}}+\frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} (A e+B d) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 c^{3/4} \sqrt{a+c x^4}}-\frac{\sqrt [4]{a} \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} (A e+B d) E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{c^{3/4} \sqrt{a+c x^4}}+\frac{x \sqrt{a+c x^4} (A e+B d)}{\sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )}+\frac{A d \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt{a+c x^4}}+\frac{B e x \sqrt{a+c x^4}}{3 c} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1721
Rule 220
Rule 305
Rule 1196
Rule 321
Rubi steps
\begin{align*} \int \frac{\left (A+B x^2\right ) \left (d+e x^2\right )}{\sqrt{a+c x^4}} \, dx &=\int \left (\frac{A d}{\sqrt{a+c x^4}}+\frac{(B d+A e) x^2}{\sqrt{a+c x^4}}+\frac{B e x^4}{\sqrt{a+c x^4}}\right ) \, dx\\ &=(A d) \int \frac{1}{\sqrt{a+c x^4}} \, dx+(B e) \int \frac{x^4}{\sqrt{a+c x^4}} \, dx+(B d+A e) \int \frac{x^2}{\sqrt{a+c x^4}} \, dx\\ &=\frac{B e x \sqrt{a+c x^4}}{3 c}+\frac{A d \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt{a+c x^4}}-\frac{(a B e) \int \frac{1}{\sqrt{a+c x^4}} \, dx}{3 c}+\frac{\left (\sqrt{a} (B d+A e)\right ) \int \frac{1}{\sqrt{a+c x^4}} \, dx}{\sqrt{c}}-\frac{\left (\sqrt{a} (B d+A e)\right ) \int \frac{1-\frac{\sqrt{c} x^2}{\sqrt{a}}}{\sqrt{a+c x^4}} \, dx}{\sqrt{c}}\\ &=\frac{B e x \sqrt{a+c x^4}}{3 c}+\frac{(B d+A e) x \sqrt{a+c x^4}}{\sqrt{c} \left (\sqrt{a}+\sqrt{c} x^2\right )}-\frac{\sqrt [4]{a} (B d+A e) \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{c^{3/4} \sqrt{a+c x^4}}+\frac{A d \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt{a+c x^4}}-\frac{a^{3/4} B e \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{6 c^{5/4} \sqrt{a+c x^4}}+\frac{\sqrt [4]{a} (B d+A e) \left (\sqrt{a}+\sqrt{c} x^2\right ) \sqrt{\frac{a+c x^4}{\left (\sqrt{a}+\sqrt{c} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{c} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 c^{3/4} \sqrt{a+c x^4}}\\ \end{align*}
Mathematica [C] time = 0.0990607, size = 121, normalized size = 0.44 \[ \frac{c x^3 \sqrt{\frac{c x^4}{a}+1} \, _2F_1\left (\frac{1}{2},\frac{3}{4};\frac{7}{4};-\frac{c x^4}{a}\right ) (A e+B d)+x \sqrt{\frac{c x^4}{a}+1} \, _2F_1\left (\frac{1}{4},\frac{1}{2};\frac{5}{4};-\frac{c x^4}{a}\right ) (3 A c d-a B e)+B e x \left (a+c x^4\right )}{3 c \sqrt{a+c x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.004, size = 269, normalized size = 1. \begin{align*} Be \left ({\frac{x}{3\,c}\sqrt{c{x}^{4}+a}}-{\frac{a}{3\,c}\sqrt{1-{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{c{x}^{4}+a}}}} \right ) +{i \left ( Ae+Bd \right ) \sqrt{a}\sqrt{1-{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}} \left ({\it EllipticF} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ) -{\it EllipticE} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ) \right ){\frac{1}{\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{c{x}^{4}+a}}}{\frac{1}{\sqrt{c}}}}+{Ad\sqrt{1-{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{c}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{c}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{c{x}^{4}+a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{2} + A\right )}{\left (e x^{2} + d\right )}}{\sqrt{c x^{4} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{B e x^{4} +{\left (B d + A e\right )} x^{2} + A d}{\sqrt{c x^{4} + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 3.29101, size = 167, normalized size = 0.6 \begin{align*} \frac{A d x \Gamma \left (\frac{1}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{4}, \frac{1}{2} \\ \frac{5}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{5}{4}\right )} + \frac{A e x^{3} \Gamma \left (\frac{3}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{3}{4} \\ \frac{7}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{7}{4}\right )} + \frac{B d x^{3} \Gamma \left (\frac{3}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{3}{4} \\ \frac{7}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{7}{4}\right )} + \frac{B e x^{5} \Gamma \left (\frac{5}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{1}{2}, \frac{5}{4} \\ \frac{9}{4} \end{matrix}\middle |{\frac{c x^{4} e^{i \pi }}{a}} \right )}}{4 \sqrt{a} \Gamma \left (\frac{9}{4}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B x^{2} + A\right )}{\left (e x^{2} + d\right )}}{\sqrt{c x^{4} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]